﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Net;

namespace MossDAL.DotNet.ServiceHelpers
{
    public abstract class BaseServiceHelper<T> where T : SharepointListItem, new()
    {
        public NetworkCredential Credentials { get; set; }

        public string ServiceEndpointAddress
        {
            get
            {
                return String.Format("http://{0}/_vti_bin/Lists.asmx", SharepointHostname);
            }
        }
        public string SharepointHostname { get; set; }

        public string SharepointListName { get; set; }

        public int PageSize { get; set; }
    }
}
